package com.mjh.zhujianju.service.supervise;

import java.util.List;
import java.util.Map;

import com.livew.framework.base.service.BaseService;
import com.mjh.zhujianju.model.supervise.SupervisionEstimateEO;
import com.mjh.zhujianju.vo.supervision.StatisticsVO;
import com.mjh.zhujianju.vo.supervision.SupervisionEstimateVO;

public interface SupervisionEstimateService extends BaseService<SupervisionEstimateEO>{

	/**
	 * 统计满意度
	 * @param vo
	 * @return
	 */
	void getQualitys(StatisticsVO vo);
	
	/**
	 * 根据信件Id 查找满意度
	 * @param supervisionIds
	 * @return
	 */
	Map<Long,SupervisionEstimateEO> getMap(List<Long> supervisionIds);

	/**
	 * 根据待办id和用户id查询评价
	 * @param id
	 * @param userId
	 * @return
	 */
	public SupervisionEstimateVO queryLetterEvaluateDetail(Long id, Long userId);

}
